package com.mingqijia.gassafety.webserver.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


/**
 * @author  zm
 * @className   报警记录或故障记录
 * @Description
 * @createTime 2024/8/29 16:08
 */
@Data
public class HistoryAlarmAndBrokenResponse {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "报警器设备主键")
    private String deviceId;

    @ApiModelProperty(value = "设备号")
    private String iMEI;

    @ApiModelProperty(value = "客户id")
    private Integer consumerId;

    @ApiModelProperty(value = "接收器状态 0-离线,1-正常")
    private Integer receiverStatus;

    @ApiModelProperty(value = "阀门状态 0-开 1-关")
    private Integer valveStatus;

    @ApiModelProperty(value = "故障状态 0-否 1-是")
    private Integer valveBrokenStatus;

    @ApiModelProperty(value = "故障原因")
    private String reason;

    @ApiModelProperty(value = "电磁阀故障原因")
    private String valveBrokenInfo;

    @ApiModelProperty(value = "诉求状态：0待处理 1工单处理中 2已处理 3工单处理完成 4未办结 5已办结")
    private Integer appealStatus;

    @ApiModelProperty(value = "工单记录表id t_gas_workorder_history.id")
    private Long workorderId;

    @ApiModelProperty(value = "处理详情")
    private String appealResult;

    @ApiModelProperty(value = "处理时间")
    private Date appealTime;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "浓度值")
    private Integer concentration;

}
